package com.ruoyi.fastdfs;


import com.github.tobato.fastdfs.service.FastFileStorageClient;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Author: Renatus
 * @Date: 2022/1/25 15:30
 */
public class FastdfsUtil {
    @Autowired
    public FastFileStorageClient fastFileStorageClient;

    public static void upload() {


          //  File file = new File("K://meinv.jpg");
          //  String fileName = file.getName();
           // String extName = fileName.substring(fileName.lastIndexOf(".")+1);
            //FileInputStream inputStream = new FileInputStream(file);
           // StorePath storePath = fastFileStorageClient.up
            //System.out.println(storePath.getFullPath());




    }
}
